import {
	http
} from '@/utils/http.js'


export const verifyCode = (data) => {
	return http.get('/code', {
		params: data
	})
}

export const userInfoApi = () => {
	return http.get('/patient/myuser')
}

export const loginByMobileApi = (data) => {
	return http.post('/register', data)
}